$OpenBSD: patch-mono_profiler_decode_c,v 1.3 2016/10/31 11:45:07 robert Exp $
--- mono/profiler/decode.c.orig	Tue Oct 11 14:53:48 2016
+++ mono/profiler/decode.c	Mon Oct 31 11:32:04 2016
@@ -59,7 +59,7 @@
 #include <string.h>
 #include <assert.h>
 #include <stdio.h>
-#if !defined(__APPLE__) && !defined(__FreeBSD__)
+#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
 #include <malloc.h>
 #endif
 #include <unistd.h>
